import { Api } from "/@/api/url"
import { defHttp } from "/@/utils/http/axios"

export const checkMaintenance = () => {
  return defHttp.get({ url: "/checkMaintenance", params: {} }, { isTransformResponse: false })
}

export const queryStatistic = (params) => {
  return defHttp.get({ url: Api.queryStatistic, params })
}

export const getWxOpenIdByScan = () => defHttp.get({ url: Api.getWxOpenIdByScan, params: {} })

export * from "./pay"
